package per.com.dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import per.com.bean.Trip;

import java.util.List;

/**
 * @Author: plx
 * @Date: 2019/5/26 14:06
 * @Version 1.0
 */
@Repository("PcTripDaoId")
public interface PcTripDao {
    void addPassengers(Trip trip);
    List<Trip> getMyTrip(String userId);
    int orderCount(String orderId);
    void exitTrip(@Param("passengers") String passengers,@Param("orderId") String orderId);
}
